<template>
<div class="layerRtb layerRtb-threecolumn layerRtb-right">
    <three-title :title="{name:'培训资料'}" :close="false">
        <span tag="i" class="rig_close fr" @click="$parent.$parent.clickFourShow()"></span>
    </three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "137">
        <div class="analyItem">
            <p class="analyItemTit tx-center">预留</p>
            <div class="analyItemCon">
                     <rx-viewer :options="{}"  >
                            <div class="fl mb10 mr20">
                                <div class="look_imgHover relative" :style="elstyle" >
                                    <img :src="this.userInfoPhoto['25']">
                                    <div class="upload_finish_div">
                                        <div class="upload_finish_bg"></div>
                                        <div class="upload_finish_link">
                                            <div class="dis-il-block">
                                                <a href="javascript:" class="ImgBtn enlarge_link enlarge_viewer"></a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="imgInfo tx-center">合作协议</div>
                                </div>
                            </div>
                    </rx-viewer>

                     <rx-viewer :options="{}"  >
                            <div class="fl mb10 mr20">
                                <div class="look_imgHover relative" :style="elstyle" >
                                    <img :src="this.userInfoPhoto['20']">
                                    <div class="upload_finish_div">
                                        <div class="upload_finish_bg"></div>
                                        <div class="upload_finish_link">
                                            <div class="dis-il-block">
                                                <a href="javascript:" class="ImgBtn enlarge_link enlarge_viewer"></a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="imgInfo tx-center">诚信协议</div>
                                </div>
                            </div>
                    </rx-viewer>

                     <rx-viewer :options="{}"  >
                            <div class="fl mb10 mr20">
                                <div class="look_imgHover relative" :style="elstyle" >
                                    <img :src="this.userInfoPhoto['24']">
                                    <div class="upload_finish_div">
                                        <div class="upload_finish_bg"></div>
                                        <div class="upload_finish_link">
                                            <div class="dis-il-block">
                                                <a href="javascript:" class="ImgBtn enlarge_link enlarge_viewer"></a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="imgInfo tx-center">安全协议</div>
                                </div>
                            </div>
                    </rx-viewer>

                    <rx-viewer :options="{}"  >
                            <div class="fl mb10 mr20">
                                <div class="look_imgHover relative" :style="elstyle" >
                                    <img :src="this.userInfoPhoto['23']">
                                    <div class="upload_finish_div">
                                        <div class="upload_finish_bg"></div>
                                        <div class="upload_finish_link">
                                            <div class="dis-il-block">
                                                <a href="javascript:" class="ImgBtn enlarge_link enlarge_viewer"></a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="imgInfo tx-center">质量协议</div>
                                </div>
                            </div>
                    </rx-viewer>
            </div>
        </div>
        <div class="analyItem">
            <p class="analyItemTit tx-center">预留</p>
            <div class="analyItemCon">

            </div>
        </div>
        <div class="analyItem">
            <p class="analyItemTit tx-center">预留</p>
            <div class="analyItemCon">

            </div>
        </div>
    </div>
    <div class="layerRtb-footer">
        <div class="analyItem">
            <p class="analyItemTit tx-center">综合</p>
            <div class="analyItemCon">
                <!-- <p class="fl col-md-9"></p>
                <p class="fr col-md-3">
                    <span class="cLightGray">统计</span>
                    <span class="cGreen fz14 bold">0分</span>
                </p>
                <p class="fl"><span class="circlemark circlemark-green">优</span></p> -->
            </div>
        </div>
        <!-- <div class="tx-center">
            <input type="button" class="uiBtn-normal uiBtn-blue" value="确定">
        </div> -->
    </div>
</div>
</template>
<script>
import { getUserListinfoPhoto } from '../../../Resources/Api'
import {
    mapGetters
} from 'vuex'
export default {
    data () {
        return {
            userDetailInfo: [],
            appUserInfo: {},
            userInfoPhoto: {},
            IDCardFace: '', // 身份证正面  4
            IDCardIdentity: '', // 身份证反面  8
            bankCardFace: '', // 银行卡正面   9
            bankCardIdentity: '', // 银行卡反面    11
            visualize: '', // 形象    41
            art: '', // 艺术           36
            elstyle: {
                width: '80px',
                height: '100px'
            }
        }
    },
    created () {
        this.UerInfoPhoto()
    },
    computed: {
        ...mapGetters(['leftInfo'])
    },
    methods: {
        UerInfoPhoto () {
            let _this = this
            _this.userInfoPhoto = {}
            getUserListinfoPhoto({
                uid: this.leftInfo.uid
            }).then(result => {
                if (result.data.StatusCode === 0) {
                    this.userInfoPhoto = result.data.Body
                }
            }).catch(err => {
                console.log(err)
            })
        }

    },
    watch: {
        leftInfo () {
            this.UerInfoPhoto()
        }
    }
}
</script>

